package com.ncwu.application.service;


import com.ncwu.domain.entity.User;
import com.ncwu.interfaces.dto.response.UserDetailsDTO;

import java.awt.image.BufferedImage;
import java.util.List;

/**
 * @author : wuwensheng
 * @date : 13:26 2020/7/1
 */
public interface UserService {
    String passWordLogin(String userId,String passWord);

    void register( String userId, String userName,String password, String remark);

    Integer sendVerificationCode(String userId);

    String verificationCodeLogin(String userId, String code);

    List<User> getUser();

    BufferedImage getCaptcha(String userId);

    UserDetailsDTO pwdAndCaptchaLogin(String userId, String password, String code);
}
